package com.webinf.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * WebInfo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "web_info")
public class WebInfo implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6557219622236285247L;
	// Fields

	private Integer guid;
	private String webLength;
	private String webDiameter;
	private String webMaterial;
	private String webOther;
	private String userId;
	private String webType;

	// Constructors

	/** default constructor */
	public WebInfo() {
	}

	/** full constructor */
	public WebInfo(String webLength, String webDiameter, String webMaterial,
			String webOther, String userId, String webType) {
		this.webLength = webLength;
		this.webDiameter = webDiameter;
		this.webMaterial = webMaterial;
		this.webOther = webOther;
		this.userId = userId;
		this.webType = webType;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "guid", unique = true, nullable = false)
	public Integer getGuid() {
		return this.guid;
	}

	public void setGuid(Integer guid) {
		this.guid = guid;
	}

	@Column(name = "web_length", length = 50)
	public String getWebLength() {
		return this.webLength;
	}

	public void setWebLength(String webLength) {
		this.webLength = webLength;
	}

	@Column(name = "web_diameter", length = 50)
	public String getWebDiameter() {
		return this.webDiameter;
	}

	public void setWebDiameter(String webDiameter) {
		this.webDiameter = webDiameter;
	}

	@Column(name = "web_material", length = 65535)
	public String getWebMaterial() {
		return this.webMaterial;
	}

	public void setWebMaterial(String webMaterial) {
		this.webMaterial = webMaterial;
	}

	@Column(name = "web_other", length = 65535)
	public String getWebOther() {
		return this.webOther;
	}

	public void setWebOther(String webOther) {
		this.webOther = webOther;
	}

	@Column(name = "user_id", length = 64)
	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Column(name = "web_type", length = 100)
	public String getWebType() {
		return this.webType;
	}

	public void setWebType(String webType) {
		this.webType = webType;
	}

}